//Copyright (C) 2011 Ron Coleman. Contact: ronncoleman@gmail.com
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 3 of the License, or (at your option) any later version.
//
//This library is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this library; if not, write to the Free Software
//Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

package org.workplicity.android.cia.model;

import java.io.Serializable;

import org.workplicity.android.cia.model.LocalWorkRequest.Status;
import org.workplicity.android.cia.util.WorkDate;

/**
 * This class implements the work request audit.
 * @author Ron Coleman
 */
public class Audit implements Serializable {

	private static final long serialVersionUID = 5045328741956681317L;

	protected WorkDate stamp;

    protected LocalWorkRequest.Status status;
    
    protected Integer byId = -1;

    public Audit() {
    }

    public Audit(Integer byId, LocalWorkRequest.Status status) {
        this.byId = byId;
        this.status = status;
        this.stamp = new WorkDate(System.currentTimeMillis());
    }

    public Integer getById() {
        return byId;
    }

    public WorkDate getStamp() {
        return stamp;
    }

    public Status getStatus() {
        return status;
    }

    
}
